package com.min.state.machine;

import com.min.state.machine.event.Event;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StateTransition {

    /**
     * 当前状态
     **/
    private State currentState;

    /**
     * 转换后状态
     **/
    private State nextState;

    /**
     * 转换事件
     **/
    private Event event;

}
